MGCP Router Config Template

!

network-clock-select 1 T1 0/0/0->is required where there is an auto increase of sleep error in controllers.
network-clock-participate wic 0–>required
isdn switch-type primary-ni

controller T1 0/0/0
cablelength long 0db
framing esf
linecode b8zs
pri-group timeslots 1-24 service mgcp ===> number of channel which you want to use

interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn bind-l3 ccm-manager
isdn send-alerting
isdn sending-complete
no cdp enable
!
ccm-manager switchback immediate
ccm-manager fallback-mgcp
ccm-manager redundant-host yy.yy.yy.yy  ====> Backup CUCM
ccm-manager mgcp
ccm-manager music-on-hold
!

mgcp
mgcp call-agent xx.xx.xx.xx service-type mgcp version 0.1   ====> XXX is active CUCM ip
mgcp dtmf-relay voip codec all mode out-of-band
mgcp bind control source-interface FastEthernet0/1
mgcp bind media source-interface FastEthernet0/1

 

 

!